PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


NormalizeThemeDrawingState

Sets the current graphics port to a default drawing state.

pascal OSStatus NormalizeThemeDrawingState (void);
function result
A result code; see Result Codes .
DISCUSSION

The NormalizeThemeDrawingState function sets the background of a graphics port to white; the pen of the port to a size of 1 pixel by 1 pixel, a pattern mode of patCopy , and a pattern of black; and the text mode of the port to srcOr . NormalizeThemeDrawingState also flushes from memory any color foreground or background patterns saved in the port's GrafPort.pnPat or GrafPort.bkPat fields, respectively.

VERSION NOTES

Available with Appearance Manager 1.1 and later.


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)